package org.jimthompson.delinkious.fake;

import java.util.Arrays;
import java.util.Date;
import java.util.List;

import org.jimthompson.delinkious.Mark;
import org.jimthompson.delinkious.MarkSource;

public class FakeMarkSource
    implements MarkSource
{
    public FakeMarkSource(String desired_tag)
    {
        fms_tag = desired_tag;
    }
    
    public List<Mark> getDeliciousPostsAfter(String name, String passwd,
                                             Date date)
    {
        String tags1[] = { "foo", "bar" };
        String tags2[] = { fms_tag };
        
        Mark m1 = new Mark("http://blogs.chron.com/makingmovies",
                "", "Eats shoots and leaves", tags1);
        Mark m2 = new Mark("http://blogs.chron.com/techblog",
                "", "Patrick is", tags2);
        Mark m3 = new Mark("http://pennjillette.com",
                "The larger, louder half of Penn & Teller",
                "Great site", tags1);
               
        return Arrays.asList(m1, m2, m3);
    }
    
    String fms_tag;
}
